#include "PFASTData.h"

#include "DataStructure/Common/Validation.h"

using namespace SG::DataStructure::FEM;

bool SG::DataStructure::FEM::operator== (const PFASTData& val1, const PFASTData& val2)
{
    FIELD_COMPARE (m_id)
    FIELD_COMPARE (m_MID)
    FIELD_COMPARE (m_D)
    FIELD_COMPARE (m_CONNBEH)
    FIELD_COMPARE (m_CONNTYPE)
    FIELD_COMPARE (m_EXTCON)
    FIELD_COMPARE (m_CONDTYPE)
    FIELD_COMPARE (m_WELDTYPE)
    FIELD_COMPARE (m_MINLEN)
    FIELD_COMPARE (m_MAXLEN)
    FIELD_COMPARE (m_GMCHK)
    FIELD_COMPARE (m_SPCGS)
    FIELD_COMPARE (m_CMASS)
    FIELD_COMPARE (m_GE)
    FIELD_COMPARE (m_ALPHA)
    FIELD_COMPARE (m_TREF)
    FIELD_COMPARE (m_COINL)
    FIELD_COMPARE (m_MCID)
    FIELD_COMPARE (m_MFLAG)
    FIELD_COMPARE_ARR (m_KT, 3)
    FIELD_COMPARE_ARR (m_KR, 3)
    FIELD_COMPARE (m_domainId)
    return true;
}